<template>
   <p class="x-bar">
    <p :id="id"
    :option="option"></p>
  </p>
</template>

<script>
import HighCharts from 'highcharts';
export default {
  // 验证类型
  props: {
    id: {
      type: String
    },
    option: {
      type: Object
    }
  },
  mounted() {
    HighCharts.chart(this.id,this.option)
  }
}

</script>

<style>
</style>